Pod::Spec.new do |s|
  s.name             = "CloudLiveSDKFramework"
  s.version          = "5.0.6"
  s.summary          = "欢拓云直播"
  s.license          = { :type => 'MIT' }
  s.author           = { "littleplayer" => "20727740@qq.com" }
  s.homepage         = "https://gitee.com/ai123456/CloudLiveSDKFramework.git"
  s.source           = { :git => "https://gitee.com/ai123456/CloudLiveSDKFramework.git", :tag => s.version.to_s }

  s.platform     = :ios, '13.0'
  s.requires_arc = true
  
  # 指定 Swift 版本
  s.swift_versions = ['5.0']
  
  # 架构配置
  s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
  s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
  
  # 依赖项
  s.dependency 'AgoraRtcEngine_iOS', '~> 3.6.0.1'
  s.dependency 'TXLiteAVSDK_TRTC','~> 9.3.10763'
  s.dependency 'Socket.IO-Client-Swift','~> 16.1.1'
  s.dependency 'MJExtension','~> 3.4.1'
  s.dependency 'KissXML','~> 5.3.1'
  s.dependency 'TFGPUImage', '~> 1.0.2'
  s.dependency 'TalkfunMediaFramework','~> 2.5.5'
  s.dependency 'AFNetworking', '~> 4.0.1'
  s.dependency 'SSZipArchive','~> 2.4.2'
  s.dependency 'AliyunOSSiOS','~> 2.10.11'
  s.dependency 'TalkfunSocketSDK'
  
  # 框架和资源文件
  s.vendored_frameworks = 'SDK/CloudLiveSDKFramework.framework'
  s.resource = 'SDK/CloudLiveSDKFramework.bundle'
  s.source_files = 'SDK/CloudLiveSDKFramework.framework/Headers/*.h'
  s.public_header_files = 'SDK/CloudLiveSDKFramework.framework/Headers/*.h'
end